import Vue from 'vue'
import App from './App'

// vuex
import store from './store'
import jump from './common/jump.js';
import config from './common/config.js';
// 引入全局uView
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)

Vue.prototype.$store = store

Vue.config.productionTip = false

import pageContainer from '@/components/pageContainer'
Vue.component('pageContainer', pageContainer); //全局页面组件

// import HeaderView from './components/header-view.vue'
// Vue.component('header-view', HeaderView)

Vue.prototype.$jump = jump;
Vue.prototype.$config = config;

App.mpType = 'app'

const app = new Vue({
	store,
	...App
})

// 引入请求封装
require('./util/request/index')(app)

app.$mount()